{#{% extends 'Base/main.content.lists.div.html.twig' %}#}
{#{% import 'Base/list_item.twig' as listItem %}#}
{% extends 'Back/Sano/list.creator.html.twig' %}
{% import 'Back/Sano/list.item.twig' as listItem %}
{#默认不能删除和新增#}
{% block addBtn %}{% endblock %}
{% block delBtn %}{% endblock %}
{% block tableHead %}
    <tr>
        <th align="" width="5%">选择</th>
        <th align="" width="">用户</th>
        <th align="" width="">姓名</th>
        <th align="" width="">身份证</th>
        <th align="" width="">正面</th>
        <th align="" width="">背面</th>
{#        <th align="" width="">{{config.pic3.label}}</th>#}
        <th align="" width="">提交时间</th>
        <th align="" width="">认证时间</th>
        <th align="" width="">状态</th>
        <th align="" width="">回复</th>
        <th align="center" width="8%">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.id }}"/></span>
            </td>
            <td align='' width='' id='user_{{ Entity.id }}'>
                {{ listItem.text('user',Entity.user,Entity.id) }}
            </td>
            <td align='' width='' id='name_{{ Entity.id }}'>
                {{ listItem.text('name',Entity.name,Entity.id) }}
            </td>
            <td align='' width='' id='code_{{ Entity.id }}'>
                {{ listItem.text('code',Entity.code,Entity.id) }}
            </td>
            <td align='' width='' id='pic1_{{ Entity.id }}'>
                {{ listItem.pic('pic1',Entity.pic1,Entity.id) }}
            </td>
            <td align='' width='' id='pic2_{{ Entity.id }}'>
                {{ listItem.pic('pic2',Entity.pic2,Entity.id) }}
            </td>
{#            <td align='' width='' id='pic3_{{ Entity.id }}'>#}
{#                {{ listItem.pic('pic3',Entity.pic3,Entity.id) }}#}
{#            </td>#}
            <td align='' width='' id='createAt_{{ Entity.id }}'>
                {{ listItem.day('createAt',Entity.createAt,Entity.id) }}
            </td>
            <td align='' width='' id='auditAt_{{ Entity.id }}'>
                {{ listItem.day('auditAt',Entity.auditAt,Entity.id) }}
            </td>
            <td align='' width='' id='status_{{ Entity.id }}'>
{#                {{ listItem.text('status',Entity.status,Entity.id) }}#}
                {{ Entity.status == 0 ? "等待处理":"" }}
                {{ Entity.status == 1 ? "通过":"" }}
                {{ Entity.status == 2 ? "驳回":"" }}
            </td>
            <td align='' width='' id='message_{{ Entity.id }}'>
                {{ listItem.text('message',Entity.message,Entity.id) }}
            </td>
            <td align='' width=''>
                {{ listItem.edit('UserAuth','',Entity.id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

